<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>

<!-- Head -->
<head>

	<title>登录</title>

	<!-- Meta-Tags -->
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

		<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
	<!-- //Meta-Tags -->

	<!-- Style --> <link rel="stylesheet" href="css/index.css" type="text/css" media="all">



</head>
<!-- //Head -->


<!-- Body -->
<body>

	<h1>登&nbsp;&nbsp;录</h1>

	<div class="container">

		<div class="login">
			<h3>&nbsp</h3>
			<form action="<c:url value="customerLogin"/>" method="post">
				<div class="inputt">
					<input type="text" Name="name" placeholder="用户名" required="required"><br>
					<input type="password" Name="password" placeholder="密码" required="required"><br>			
				</div>
				<div class="msg" color="red">
				${msg}
				</div>
				<div class="send-button">
					<input type="submit" value="登 录">
				</div>
			</form>
			
			<div class="tran">
				<div class="to_register">
					<a href="<c:url value="register"/>">沒有账号？去注册</a>
				</div>
				<div class="to_admin_login">
					<a href="<c:url value="adminLogin"/>">管理员登录</a>
				</div>
			</div>
			
			<div class="clear"></div>
		

	</div>


</body>
<!-- //Body -->

</html>